package com.badminton.common.core.domain;

import java.math.BigDecimal;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.badminton.common.annotation.Excel;
import com.badminton.common.core.domain.BaseEntity;

/**
 * 装备，存储羽毛球装备的详细信息对象 equipment
 * 
 * @author ruoyi
 * @date 2024-07-01
 */
public class Equipment extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 装备ID，主键，自增 */
    private Long EquipmentID;

    /** 装备类别，例如球拍、鞋子、服装等 */
    @Excel(name = "装备类别，例如球拍、鞋子、服装等")
    private String Category;

    /** 装备品牌 */
    @Excel(name = "装备品牌")
    private String Brand;

    /** 装备型号 */
    @Excel(name = "装备型号")
    private String Model;

    /** 装备规格 */
    @Excel(name = "装备规格")
    private String Specifications;

    /** 装备价格 */
    @Excel(name = "装备价格")
    private BigDecimal Price;

    /** 库存数量 */
    @Excel(name = "库存数量")
    private Long Stock;

    /** 装备图片的URL */
    @Excel(name = "装备图片的URL")
    private String ImageURL;

    /** 装备描述 */
    @Excel(name = "装备描述")
    private String Description;

    /** 装备信息创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "装备信息创建时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date CreatedAt;

    /** 装备信息更新时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "装备信息更新时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date UpdatedAt;

    public void setEquipmentID(Long EquipmentID) 
    {
        this.EquipmentID = EquipmentID;
    }

    public Long getEquipmentID() 
    {
        return EquipmentID;
    }
    public void setCategory(String Category) 
    {
        this.Category = Category;
    }

    public String getCategory() 
    {
        return Category;
    }
    public void setBrand(String Brand) 
    {
        this.Brand = Brand;
    }

    public String getBrand() 
    {
        return Brand;
    }
    public void setModel(String Model) 
    {
        this.Model = Model;
    }

    public String getModel() 
    {
        return Model;
    }
    public void setSpecifications(String Specifications) 
    {
        this.Specifications = Specifications;
    }

    public String getSpecifications() 
    {
        return Specifications;
    }
    public void setPrice(BigDecimal Price) 
    {
        this.Price = Price;
    }

    public BigDecimal getPrice() 
    {
        return Price;
    }
    public void setStock(Long Stock) 
    {
        this.Stock = Stock;
    }

    public Long getStock() 
    {
        return Stock;
    }
    public void setImageURL(String ImageURL) 
    {
        this.ImageURL = ImageURL;
    }

    public String getImageURL() 
    {
        return ImageURL;
    }
    public void setDescription(String Description) 
    {
        this.Description = Description;
    }

    public String getDescription() 
    {
        return Description;
    }
    public void setCreatedAt(Date CreatedAt) 
    {
        this.CreatedAt = CreatedAt;
    }

    public Date getCreatedAt() 
    {
        return CreatedAt;
    }
    public void setUpdatedAt(Date UpdatedAt) 
    {
        this.UpdatedAt = UpdatedAt;
    }

    public Date getUpdatedAt() 
    {
        return UpdatedAt;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("EquipmentID", getEquipmentID())
            .append("Category", getCategory())
            .append("Brand", getBrand())
            .append("Model", getModel())
            .append("Specifications", getSpecifications())
            .append("Price", getPrice())
            .append("Stock", getStock())
            .append("ImageURL", getImageURL())
            .append("Description", getDescription())
            .append("CreatedAt", getCreatedAt())
            .append("UpdatedAt", getUpdatedAt())
            .toString();
    }
}
